all:client server
client:tcp_client.cc
	g++ $^ -o $@ -std=c++17 -lpthread
# server:tcp_server.cc
# 	g++ $^ -o $@ -std=c++17 -g -lpthread
server:server.cc
	g++ $^ -o $@ -std=c++17 -g -lpthread

.PHONY:clean
clean:
	rm -f client server	
